package com.chat.websocket.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chat.websocket.entity.dto.MessageContentDTO;
import com.chat.websocket.entity.module.Message;
import com.chat.websocket.entity.vo.MessageContentVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * SunJingxuan
 * 2022 \ 08 \ 10
 */

public interface MessageMapper extends BaseMapper<Message> {

	List<MessageContentVO> getHistoryMessage(@Param(value = "messageContent") MessageContentDTO messageContentDTO);
}
